package product_middleware

import (
	"fmt"

	"github.com/gin-gonic/gin"
)

type ProductMiddleware struct{}

func (con ProductMiddleware) ProductMidd1(c *gin.Context) {
	fmt.Println("product midd 1, start")
	c.Next()
	fmt.Println("product midd 1, end")
}

func ProductMidd2(c *gin.Context) {
	fmt.Println("product midd 2, start")
	c.Next()
	fmt.Println("product midd 2, end")
}
